file chooser: Memory handling fixes
authorMatthias Clasen <mclasen@redhat.com>
Mon, 20 Jul 2015 15:11:00 +0000 (11:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 20 Jul 2015 15:12:49 +0000 (11:12 -0400)
commit2dfad2b0d1cad454c4b68625be1e169023aaaed4
treed545bb8e7669e0c80ac5f22959871fd4a0645512
parent50a2428739451bad218940d10c63b604da3b9c21
file chooser: Memory handling fixes

I forgot to clean up the long press gesture, and in additon, creating
the rename popover from the ui template was causing the tree view
to not be disposed when the file chooser goes away. Work around this
by manually unsetting the relative-to widget of the popover in dispose.
gtk/gtkfilechooserwidget.c
gtk/ui/gtkfilechooserwidget.ui